home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / less / defines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-22  |  3.2 KB  |  137 lines

  1. /* Definition file for less */
  2. /* Generated Sat Dec 21 22:41:56 PST 1991 by linstall. */
  3.  
  4. #include <sys/types.h>    /* for off_t */
  5.  
  6. /*
  7.  * Define XENIX if running under XENIX 3.0.
  8.  */
  9. #define    XENIX        0
  10.  
  11. /*
  12.  * VOID is 1 if your C compiler supports the "void" type,
  13.  * 0 if it does not.
  14.  */
  15. #define    VOID        1
  16.  
  17. /*
  18.  * VOID_POINTER is the definition of a pointer to any object.
  19.  */
  20. #define    VOID_POINTER    void *
  21.  
  22. /*
  23.  * offset_t is the type which lseek() returns.
  24.  * It is also the type of lseek()'s second argument.
  25.  */
  26. #define    offset_t    off_t
  27.  
  28. /*
  29.  * STAT is 1 if your system has the stat() call.
  30.  */
  31. #define    STAT        1
  32.  
  33. /*
  34.  * PERROR is 1 if your system has the perror() call.
  35.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  36.  */
  37. #define    PERROR        1
  38.  
  39. /*
  40.  * GET_TIME is 1 if your system has the time() call.
  41.  */
  42. #define    GET_TIME    1
  43.  
  44. /*
  45.  * TERMIO is 1 if your system has /usr/include/termio.h.
  46.  * This is normally the case for System 5.
  47.  * If TERMIO is 0 your system must have /usr/include/sgtty.h.
  48.  * This is normally the case for BSD.
  49.  */
  50. #define    TERMIO        0
  51.  
  52. /*
  53.  * HAS__SETJMP is 1 if your system has the _setjmp() call.
  54.  * This is normally the case only for BSD 4.2 and up,
  55.  * not for BSD 4.1 or System 5.
  56.  */
  57. #define    HAS__SETJMP    1
  58.  
  59. /*
  60.  * SIGSETMASK is 1 if your system has the sigsetmask() call.
  61.  * This is normally the case only for BSD 4.2,
  62.  * not for BSD 4.1 or System 5.
  63.  */
  64. #define    SIGSETMASK    1
  65.  
  66. /*
  67.  * NEED_PTEM_H is 1 if your system needs sys/ptem.h to declare struct winsize.
  68.  * This is normally the case only for SCOs System V.
  69.  */
  70. #define    NEED_PTEM_H    0
  71.  
  72. /*
  73.  * REGCMP is 1 if your system has the regcmp() function.
  74.  * This is normally the case for System 5.
  75.  * RECOMP is 1 if your system has the re_comp() function.
  76.  * This is normally the case for BSD.
  77.  * If neither is 1, pattern matching is supported, but without metacharacters.
  78.  */
  79. #define    REGCMP        0
  80. #define    RECOMP        1
  81.  
  82. /*
  83.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  84.  * (This is possible only if your system supplies the system() function.)
  85.  */
  86. #define    SHELL_ESCAPE    1
  87.  
  88. /*
  89.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  90.  * (This is possible only if your system supplies the system() function.)
  91.  * EDIT_PGM is the name of the (default) editor to be invoked.
  92.  */
  93. #define    EDITOR        1
  94. #define    EDIT_PGM    "/sprite/cmds/vi"
  95.  
  96. /*
  97.  * TAGS is 1 if you wish to support tag files.
  98.  */
  99. #define    TAGS        1
  100.  
  101. /*
  102.  * USERFILE is 1 if you wish to allow a .less file to specify 
  103.  * user-defined key bindings.
  104.  */
  105. #define    USERFILE    1
  106.  
  107. /*
  108.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  109.  * This will generally work if your system provides the "popen" function
  110.  * and the "echo" shell command.
  111.  */
  112. #define    GLOB        1
  113.  
  114. /*
  115.  * PIPEC is 1 if you wish to have the "|" command
  116.  * which allows the user to pipe data into a shell command.
  117.  */
  118. #define    PIPEC        1
  119.  
  120. /*
  121.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  122.  */
  123. #define    LOGFILE        1
  124.  
  125. /*
  126.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  127.  * will continue past an error message.
  128.  * Otherwise, any key will continue past an error message.
  129.  */
  130. #define    ONLY_RETURN    0
  131.  
  132. /*
  133.  * HELPFILE is the full pathname of the help file.
  134.  */
  135. #define    HELPFILE    "/sprite/lib/less/less.help"
  136.  
  137.